package ronglei.day01.demo08Static;

public class Static01 {
    public static void main(String[] args) {
        Student one = new Student("荣磊",19);
        one.room = "101教室";
        System.out.println("姓名"+one.getName()
                +",年龄"+one.getAge()+",教室"+one.room
                +",学号"+one.getId());


        Student two = new Student("冰心",18);
        System.out.println("姓名"+two.getName()
                +",年龄"+two.getAge()+",教室"+two.room
                +",学号"+two.getId());


    }
}
